<!doctype html>
<html  class="x-admin-sm" xmlns:th="http://www.thymeleaf.org"
       xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<meta charset="UTF-8">
	<title>在线考试系统</title>
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" href="./css/font.css">
	<link rel="stylesheet" href="./css/xadmin.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript"src="https://cdn.bootcss.com/blueimp-md5/2.10.0/js/md5.min.js"></script>
    <script src="./lib/layui/layui.js" charset="utf-8"></script>

    <script type="text/javascript" src="./js/xadmin.js"></script>
    <script type="text/javascript" src="./js/cookie.js"></script>
    <script>
        // 是否开启刷新记忆tab功能
        // var is_remember = false;
    </script>
</head>
<body>
    <!-- 顶部开始 -->
    <div class="container">
        <div class="logo"><a href="./index.html">在线考试系统</a></div>
        <div class="left_open">
            <i title="展开左侧栏" class="iconfont">&#xe699;</i>
        </div>

        <ul class="layui-nav right" lay-filter="">
          <li class="layui-nav-item">

            <a href="javascript:;" th:text="${username}" th:if="${!#strings.isEmpty(username)}"></a>

              <dl class="layui-nav-child"> <!-- 二级菜单 -->
              <dd><a onclick="x_admin_show('我的资料','http://www.baidu.com')">我的资料</a></dd>
              <dd><a onclick="x_admin_show('修改密码','http://www.baidu.com')">修改密码</a></dd>
              <dd><a th:href="@{/logout}">退出</a></dd>
            </dl>
          </li>
          <li class="layui-nav-item to-index"><a href="/">前台首页</a></li>
        </ul>
        
    </div>
    <!-- 顶部结束 -->

    <!-- 中部开始 -->
     <!-- 左侧菜单开始 -->
    <div class="left-nav">
      <div id="side-nav">
        <ul id="nav">

            <shiro:hasAnyRoles name="admin,provinceAdmin,cityAdmin,areaAdmin,teacher">
            <!-- 考前准备-->
            <li>
                <a href="javascript:;">
<!--                    <i class="iconfont">&#xe6b8;</i>-->
                    <i class="iconfont">&#xe723;</i>
                    <cite>考前准备</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>

                <ul class="sub-menu">

                    <li date-refresh="1">
                        <a _href="questionBank.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>题库管理</cite>
                        </a>
                    </li >

                    <li date-refresh="1">
                        <a _href="question.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>试卷管理</cite>
                        </a>
                    </li >

                    <li date-refresh="1">
                        <a _href="examInfo.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>考试安排</cite>
                        </a>
                    </li >

                </ul>
            </li>


            <!-- 考试过程-->
            <li>
                <a href="javascript:;">
                    <i class="iconfont">&#xe6ce;</i>
                    <cite>考试过程</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <ul class="sub-menu">
                    <li date-refresh="1">
                        <a _href="examRoom.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>考试监控</cite>
                        </a>
                    </li >
                </ul>
            </li>

            <!-- 考后成绩-->
            <li>
                <a href="javascript:;">
                    <i class="iconfont">&#xe6b3;</i>
                    <cite>考后成绩</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>


                <ul class="sub-menu">

                    <!--分配评卷任务-->
                    <li>
                        <a _href="question-review.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>在线阅卷</cite>
                        </a>
                    </li >
                    <!--统计成绩-->
                    <li>
                        <a _href="score-students.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>成绩管理</cite>
                        </a>
                    </li >
                </ul>

            </li>

            </shiro:hasAnyRoles>

            <shiro:hasRole name="student">
            <!-- 练习管理-->
            <li>
                <a href="javascript:;">
                    <i class="iconfont">&#xe6d4;</i>
                    <cite>练习管理</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>


                <ul class="sub-menu">

                    <!--参加过练习的试卷-->
                    <li>
                        <a _href="test.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>我的练习</cite>
                        </a>
                    </li >
                    <!--错题集-->
                    <li>
                        <a _href="test-error.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>错题集</cite>
                        </a>
                    </li >
                </ul>

            </li>
            <!-- 我的考试-->
            <li>
                <a href="javascript:;">
                    <i class="iconfont">&#xe6bf;</i>
                    <cite>我的考试</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>

                <ul class="sub-menu">

                    <!--参加考试-->
                    <li>
                        <a _href="question-join.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>参加考试</cite>
                        </a>
                    </li >
                    <!--查询成绩-->
                    <li>
                        <a _href="score-student.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>我的成绩</cite>
                        </a>
                    </li >
                </ul>

            </li>
            <!-- 我的练习-->
            <li>
                <a href="javascript:;">
                    <i class="iconfont">&#xe6bf;</i>
                    <cite>我的练习</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>

                <ul class="sub-menu">

                    <!--参加练习-->
                    <li>
                        <a _href="test-join.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>参加练习</cite>
                        </a>
                    </li >
                    <!--查询练习成绩-->
                    <li>
                        <a _href="test-score-student.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>我的成绩</cite>
                        </a>
                    </li >
                </ul>

            </li>

            </shiro:hasRole>

            <shiro:hasAnyRoles name="admin,provinceAdmin,cityAdmin,areaAdmin,teacher">
            <!-- 报表中心-->
            <li>
                <a href="javascript:;">
                    <!--                    <i class="iconfont">&#xe6b8;</i>-->
                    <i class="iconfont">&#xe6f8;</i>
                    <cite>报表中心</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>

                <ul class="sub-menu">

                    <li date-refresh="1">
                        <a _href="score.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>成绩报表</cite>
                        </a>
                    </li >

                    <li date-refresh="1">
                        <a _href="score.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>数据分析</cite>
                        </a>
                        <ul class="sub-menu">

                            <li>
                                <a _href="score-echarts1.html">
                                    <i class="iconfont">&#xe6a7;</i>
                                    <cite>折线图</cite>
                                </a>
                            </li >

                            <li>
                                <a _href="score-echarts2.html">
                                    <i class="iconfont">&#xe6a7;</i>
                                    <cite>柱状图</cite>
                                </a>
                            </li >

                            <li>
                                <a _href="score-echarts3.html">
                                    <i class="iconfont">&#xe6a7;</i>
                                    <cite>饼图</cite>
                                </a>
                            </li >

                        </ul>
                    </li >

                    <li date-refresh="1">
                        <a _href="questionBank2.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>题库报表</cite>
                        </a>
                    </li >

                    <li date-refresh="1">
                        <a _href="department.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>部门报表</cite>
                        </a>
                    </li >

                    <li date-refresh="1">
                        <a _href="position.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>岗位报表</cite>
                        </a>
                    </li >

                </ul>
            </li>

            <!-- 系统设置-->
            <li>
                <a href="javascript:;">
                    <i class="iconfont">&#xe6ae;</i>
                    <cite>系统管理</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <ul class="sub-menu">
                    <li>
                        <a _href="department.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>部门管理</cite>
                        </a>
                    </li >

                    <li>
                        <a _href="user.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>人员管理</cite>
                        </a>
                    </li >

                    <li>
                        <a _href="role.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>角色管理</cite>
                        </a>
                    </li >

                    <li>
                        <a _href="position.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>岗位管理</cite>
                        </a>
                    </li >
<!--扩展功能start：-->
                    <li>
                        <a _href="">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>日志管理</cite>
                        </a>
                    </li >

                    <li>
                        <a _href="">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>日志管理</cite>
                        </a>
                    </li >

                    <li>
                        <a _href="">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>全局设置</cite>
                        </a>
                    </li >

                    <li>
                        <a _href="">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>成绩分布设置</cite>
                        </a>
                    </li >

                    <li>
                        <a _href="">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>公告管理</cite>
                        </a>
                    </li >

                    <li>
                        <a _href="">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>数据库备份</cite>
                        </a>
                    </li >
<!--扩展功能end-->
                </ul>
            </li>

<!--开发完删除 start：-->
            <li>
                <a href="javascript:;">
                    <i class="iconfont">&#xe6b4;</i>
                    <cite>图标字体</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <ul class="sub-menu">
                    <li>
                        <a _href="unicode.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>图标对应字体</cite>
                        </a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="javascript:;">
                    <i class="iconfont">&#xe6b4;</i>
                    <cite>其它页面</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <ul class="sub-menu">
                    <li>
                        <a href="login.html" target="_blank">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>登录页面</cite>
                        </a>
                    </li>
                    <li>
                        <a _href="error.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>错误页面</cite>
                        </a>
                    </li>
                </ul>
            </li>
<!--开发完删除 end -->
            </shiro:hasAnyRoles>
        </ul>
      </div>
    </div>
    <!-- <div class="x-slide_left"></div> -->
    <!-- 左侧菜单结束 -->
    <!-- 右侧主体开始 -->
    <div class="page-content">
        <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
          <ul class="layui-tab-title">
            <li class="home"><i class="layui-icon">&#xe68e;</i>我的桌面</li>
          </ul>
          <div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
                <dl>
                    <dd data-type="this">关闭当前</dd>
                    <dd data-type="other">关闭其它</dd>
                    <dd data-type="all">关闭全部</dd>
                </dl>
          </div>
          <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <iframe src='./welcome.html' frameborder="0" scrolling="yes" class="x-iframe"></iframe>
            </div>
          </div>
          <div id="tab_show"></div>
        </div>
    </div>
    <div class="page-content-bg"></div>
    <!-- 右侧主体结束 -->
    <!-- 中部结束 -->
    <!-- 底部开始 -->
    <div class="footer">
        <div class="copyright">Copyright ©2017 x-admin v2.3 All Rights Reserved</div>  
    </div>
    <!-- 底部结束 -->
    <script>
    //百度统计可去掉
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
      var s = document.getElementsByTagName("script")[0]; 
      s.parentNode.insertBefore(hm, s);
    })();
    </script>
</body>
</html>